home *** CD-ROM | disk | FTP | other *** search
/ SGI Desktop Special Edition 1.0 / SGI Desktop Special Edition 1.0.iso / relnotes / Outbox / ch2.z / ch2
Text File  |  1995-09-11  |  11KB  |  397 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        2.  _I_n_s_t_a_l_l_a_t_i_o_n__I_n_f_o_r_m_a_t_i_o_n
  9.  
  10.        This chapter lists supplemental information to the _I_R_I_S
  11.        _S_o_f_t_w_a_r_e _I_n_s_t_a_l_l_a_t_i_o_n _G_u_i_d_e.  The information listed here is
  12.        product- and release-specific; use it with the Installation
  13.        Guide to install this product.
  14.  
  15.        2.1  _O_u_t__B_o_x__S_u_b_s_y_s_t_e_m_s
  16.  
  17.        Mindshare Out Box includes these subsystems:
  18.  
  19.        _o_u_t_b_o_x._s_w._o_u_t_b_o_x              The Software that allows you
  20.                                      to publish files.
  21.  
  22.        _o_u_t_b_o_x._b_o_o_k_s._O_u_t_b_o_x_H_e_l_p       Help documentation with the
  23.                                      above software.
  24.  
  25.        _w_e_b_s_e_r_v_e_r._s_w._w_e_b_s_e_r_v_e_r        An HTTP/1.0 compliant Web
  26.                                      Server including support for
  27.                                      CGI-bin, ISMAPS, and server
  28.                                      parsed HTML.
  29.  
  30.  
  31.        2.2  _I_n_s_t_a_l_l_a_t_i_o_n__M_e_t_h_o_d
  32.  
  33.        After installation of this software, the system must be
  34.        rebooted.
  35.  
  36.        2.3  _P_r_e_r_e_q_u_i_s_i_t_e_s
  37.  
  38.        This software requires IRIX 5.3 or IRIX 6.1
  39.  
  40.        2.4  _N_e_t_s_c_a_p_e _S_e_r_v_e_r _a_n_d _O_u_t_b_o_x _I_n_s_t_a_l_l_a_t_i_o_n _a_n_d
  41.             _C_o_n_f_i_g_u_r_a_t_i_o_n _I_n_f_o_r_m_a_t_i_o_n
  42.  
  43.        This section has instructions for the following:
  44.  
  45.  
  46.           +o Information if you are currently running a Netscape 1.1
  47.             or 1.1.1 server.
  48.  
  49.           +o Information if you were previously running a Netscape
  50.             server.
  51.  
  52.           +o Information if you are currently running a Netscape 1.0
  53.             server.
  54.  
  55.           +o Installation of a Netscape 1.1.1 Server on a machine
  56.             running Outbox.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.        2.4.1  _I_f__Y_o_u__a_r_e__R_u_n_n_i_n_g__a__N_e_t_s_c_a_p_e__1_._1__o_r__1_._1_._1__W_e_b__S_e_r_v_e_r
  75.        If your system is running a Netscape 1.1 or 1.1.1 server,
  76.        you need to make a few changes to the server setup to enable
  77.        Out Box and Whats New to work through the Netscape server.
  78.        If you are unfamiliar with how to configure your Netscape
  79.        server, contact the person who usually configures the
  80.        server. More informaton is available in the Netscape
  81.        Commerce and Communications Servers Administrator's Guide,
  82.        Chapter 1, Installing the server, Section 2, Using the
  83.        Server Manager. If installed, this book is accessible by
  84.        selecting Online Books from the Help menu on the toolchest.
  85.  
  86.        Start the Netscape Server Manager by going to the URL
  87.        http://YourServerName:AdminPort/ (e.g. http://host1:8080/).
  88.        Type your administrator name and password when prompted by
  89.        Netscape.
  90.  
  91.        1. Scroll to the section "CGI and Server Parsed HTML" and
  92.        select "Specify a directory that will contain CGI programs
  93.        only"
  94.  
  95.           +o Type "cgi-bin" in the first text field.
  96.  
  97.           +o Type "/var/www/cgi-bin" in the second text field.
  98.  
  99.           +o Click the "Make These Changes" button followed by
  100.             "Return to the Server Manager" link.
  101.  
  102.        2. Choose "Activate CGI as file type for part of your
  103.        server:"
  104.  
  105.           +o Select "I'd like to activate a CGI as a file type."
  106.  
  107.           +o Click the "Make These Changes" button followed by
  108.             "Return to the Server Manager" link.
  109.  
  110.        3. Scroll to the section "URL Mappings" and select "Map a
  111.        URL to a local directory".
  112.  
  113.           +o Type "WhatsNew" in the first text field.
  114.  
  115.           +o Type "/var/www/htdocs/WhatsNew" in the second text
  116.             field.
  117.  
  118.           +o Click the "Make These Changes" button followed by
  119.             "Return to the Server Manager" link.
  120.  
  121.        4. Copy images to the Netscape Server with the following
  122.        steps:
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.           +o If a directory called "images" does not exist in the
  141.             Document Root of the Netscape Server, create one. You
  142.             can create this directory using "dirview" or by typing
  143.             "mkdir full-path-of-document-root/images" in a shell.
  144.             You can determine the full path of the document root
  145.             for your Netscape Server by clicking on the "Document
  146.             Config" link in the Server Manager.
  147.  
  148.           +o Copy all files in /var/www/httpd/htdocs/images to this
  149.             directory. For example if you have the settings above
  150.             you can do this by typing "cp /var/www/htdocs/images/*
  151.             /usr/ns-home/htdocs/images" in a shell.
  152.  
  153.  
  154.        5. Note: You have two choices in Step 5. Please do only ONE
  155.               of 5(a) OR (b).
  156.  
  157.        5(a). If you want the machines default home page to be the
  158.        Outbox generated home page:
  159.  
  160.        Note:  If you use this approach, you can still add your own
  161.               content to the Outbox generated home page by editing
  162.               the file "/var/www/htdocs/index.html".
  163.  
  164.           +o Choose "Document Configuration".
  165.  
  166.           +o Click on the "Home Page" button to select a different
  167.             home page for the machine and type
  168.             "/var/www/htdocs/index.html" in the text field next to
  169.             it.
  170.  
  171.           +o Click the "Make These Changes" button followed by
  172.             "Return to the Server Manager" link.
  173.  
  174.        5(b). If you want your machines default home page to
  175.        continue to be the one you currently have, but would like to
  176.        access the Outbox generated page by a new name, say
  177.        "Outbox.html", do the following:
  178.  
  179.           +o Choose "Map a URL to a local directory".
  180.  
  181.           +o Type "Outbox.html" in the first text field. The
  182.             corresponding URL for your Outbox generated home page
  183.             will be http://your-machine-name/Outbox.html. You can
  184.             replace "Outbox.html" by whatever name you choose.
  185.  
  186.           +o Type "/var/www/htdocs/index.html" in the second text
  187.             field.
  188.  
  189.           +o Click the "Make These Changes" button followed by
  190.             "Return to the Server Manager" link.
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                   - 4 -
  203.  
  204.  
  205.  
  206.        6. Choose "Customize user's public information directories"
  207.  
  208.           +o Make sure that the first text box has "~" in it and the
  209.             second text box has "public_html" in it.
  210.  
  211.           +o Click the "Make These Changes" button followed by
  212.             "Return to the Server Manager" link.
  213.  
  214.        7. Scroll to the section "CGI and Server Parsed HTML" and
  215.        choose "Customize server parsed to HTML on your server"
  216.  
  217.           +o Select I'd like to activate server parsed HTML in full.
  218.  
  219.           +o Select I'd like to parse all the HTML files sent to the
  220.             client.
  221.  
  222.           +o Click the "Make These Changes" button followed by
  223.             "Return to the Server Manager" link.
  224.  
  225.        8. Under the "Server Control" section, choose "Start up,
  226.        restart, or shutdown the server".
  227.  
  228.           +o Click the "Restart!" button.
  229.  
  230.        9. In a Unix shell type:
  231.  
  232.           +o touch /var/www/htdocs/.Netscape
  233.  
  234.        You can now use Out Box to publish files on your home page
  235.        and view the Whats New information on your system.
  236.  
  237.  
  238.        2.4.2  _I_f _y_o_u _w_e_r_e _p_r_e_v_i_o_u_s_l_y _r_u_n_n_i_n_g _a _N_e_t_s_c_a_p_e _S_e_r_v_e_r _o_n
  239.        _t_h_i_s _m_a_c_h_i_n_e:  If you were previously running a Netscape
  240.        Server on this machine and have removed this software from
  241.        it, you need to do the following to enable Out Box and Whats
  242.        New:
  243.  
  244.        1. Open a shell window by choosing "Unix Shell" from the
  245.        Desktop toolchest.
  246.  
  247.        2. Log in as root by typing "su" at the shell prompt. Type
  248.        in the root password if you have one.
  249.  
  250.        3. Remove the Netscape Server config files by typing "rm
  251.        /var/config/netsite /var/config/ns_httpd" at the shell
  252.        prompt.
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                                   - 5 -
  269.  
  270.  
  271.  
  272.        2.4.3  _I_f__y_o_u__a_r_e__R_u_n_n_i_n_g__a__N_e_t_s_c_a_p_e__1_._0__S_e_r_v_e_r  If you are
  273.        running a Netscape 1.0 Web Server, there is a new release
  274.        (version 1.1.1) of the server. Silicon Graphics, Inc.
  275.        recommends that you upgrade to this release.
  276.  
  277.  
  278.        Note:  Outbox and Whats New will not work with the 1.0
  279.               release of the server. If you don't want to upgrade
  280.               your server, you can remove the "outbox", "webserver"
  281.               and "whatsnew" products on your system.
  282.  
  283.  
  284.        2.4.4  _I_n_s_t_a_l_l_a_t_i_o_n _o_f _a _N_e_t_s_c_a_p_e _1._1._1 _S_e_r_v_e_r _o_n _a _m_a_c_h_i_n_e
  285.        _r_u_n_n_i_n_g _O_u_t_b_o_x:  The Outbox server uses port 80, which is
  286.        the default for the HTTP protocol.  This prevents Netscape
  287.        from binding to this port during installation. To install a
  288.        Netscape 1.1.1 Server on a machine running Outbox, follow
  289.        this order of installation.
  290.  
  291.        1. Install the Netscape software using "swmgr" or "inst".
  292.  
  293.        2. Become root in a shell and type "chkconfig ns_httpd on".
  294.  
  295.        3. Reboot the machine, and the Outbox server will be
  296.        automatically turned off.  Outbox will be disabled till you
  297.        follow the instructions above to enable it with a Netscape
  298.        server.
  299.  
  300.  
  301.        2.5  _T_o__t_u_r_n__o_f_f__O_u_t_b_o_x_:
  302.  
  303.        To turn outbox off, for example on a secure system, follow
  304.        the following instructions:
  305.  
  306.  
  307.         1. Open a shell window by choosing "Unix Shell" from the
  308.        Desktop toolchest.
  309.  
  310.        2. Log in as root by typing "su" at the shell prompt. Type
  311.        in the root password if you have one.
  312.  
  313.        3. Type "chkconfig outbox off" and reboot your machine.
  314.  
  315.  
  316.        2.6  _S_e_c_u_r_i_t_y__C_o_n_s_i_d_e_r_a_t_i_o_n_s_:
  317.  
  318.        The Outbox and webserver products have the following
  319.        security implications:
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                                   - 6 -
  335.  
  336.  
  337.  
  338.           +o Installation creates a directory with mode 777 (read,
  339.             write and execute priviledge to all users). You can
  340.             change the permissions on this directory to be more
  341.             restrictive.
  342.  
  343.           +o Information about the users, machine configuration and
  344.             some user files are accessible to others on the same
  345.             network.  You can stop this by disabling Outbox
  346.             completely. To do this follow the instructions below.
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.